#include"Heap.h"

int main()
{
	int arr[] = {1,23,21,123,324,54,43,45,76,546};
	//HP hp = { 0 };
	//HPCreat(&hp, arr, sizeof(arr) / sizeof(int));
	//HPPush(&hp, 21312);
	//HPPush(&hp, 213112);
	//HPPush(&hp, 2132);
	//HPPush(&hp, 213121312);
	//while (!HPEmpty(&hp))
	//{
	//	printf("%d ", HPTop(&hp));
	//	HPPop(&hp);
	//}
	int n = sizeof(arr) / sizeof(int);
	Heap_sort(arr, n);
	for (int i = 0; i < n; i++)
	{
		printf("%d ", arr[i]);
	}
	return 0;
}